#include "Dog.h"
#include "Animal.h"
#include <iostream>

Dog::Dog(const std::string &name) : name_(name) {}
void Dog::makeSound() {
  std::cout << name_ << " says: wang wang!" << std::endl;
}
extern "C" {
AnimalApiPtr create_animal(const std::string &name) {
  return std::make_unique<Dog>(name);
}
}